<table class="layui-table text-center">
    <thead>
    <tr>
        <th width="100">图片</th>
        <th>SKU</th>
        <th>系统库存</th>
        <th>现有库存</th>
        <th>备注</th>
    </tr>
    </thead>
    <tbody>
    {volist name="list" id="item"}
    <tr>
        <td><img src="{$item.image_url ?: '__PUBLIC__/img/no-photo.png'}"></td>
        <td>
            <span class="copy-text">{$item.sku}</span>
            <input type="hidden" class="layui-input copy-text" value="{$item.sku}" name="sku[]"/>
        </td>
        <td class="text-center">{$item.stock}</td>
        <td width="150"><input type="number" class="layui-input stock-ing" item="{$item.sku}" name="stock_ing[]" value="{$item.stock}"/></td>
        <td><input type="text" class="layui-input" name="remark[]"/></td>
    </tr>
    {/volist}
    </tbody>
</table>
<div class="page">
    {$page|raw}
</div>